﻿
<?php
	
	$this->load_template('header.php');


	

?>
<div id="settings">
<div id="settings_left">				
							<div class="ttl" style="margin-right:12px;"><div class="ttl2"><h3><?= $this->lang('settings_menu_title') ?></h3></div></div>
							<div class="sidenav">
							  <?php if(!empty($C->SMSID)) { ?>
								<a href="<?= $C->SITE_URL ?>settings/sms"  ><?= $this->lang('settings_menu_sms') ?></a>
								<?php } ?>
								<a href="<?= $C->SITE_URL ?>settings/profile"><?= $this->lang('settings_menu_profile') ?></a>
								<a href="<?= $C->SITE_URL ?>settings/contacts" ><?= $this->lang('settings_menu_contacts') ?></a>
								<a href="<?= $C->SITE_URL ?>settings/avatar"><?= $this->lang('settings_menu_avatar') ?></a>
								<a href="<?= $C->SITE_URL ?>settings/password"><?= $this->lang('settings_menu_password') ?></a>
								<a href="<?= $C->SITE_URL ?>settings/email"><?= $this->lang('settings_menu_email') ?></a>
								<a href="<?= $C->SITE_URL ?>settings/system"><?= $this->lang('settings_menu_system') ?></a>
								<a href="<?= $C->SITE_URL ?>settings/notifications"><?= $this->lang('settings_menu_notif') ?></a>
								<?php if( function_exists('curl_init') ) { ?>
								<a href="<?= $C->SITE_URL ?>settings/rssfeeds"><?= $this->lang('settings_menu_rssfeeds') ?></a>
								<?php } ?>
								<a href="<?= $C->SITE_URL ?>settings/delaccount"><?= $this->lang('settings_menu_delaccount') ?></a>
                                 <?php if(!empty($C->QQID)) { ?>
								<a href="<?= $C->SITE_URL ?>settings/qq"  class="onsidenav"><?= $this->lang('settings_menu_qq') ?></a>
								<?php } ?>
							</div>
						</div>
                        <div id="settings_right">
				<div class="noposts">
							<div class="nopoststop"><div class="nopoststop2"></div></div>
							<div class="nopostsbody" >
							  <p>绑定即时聊天工具，第一时间获得消息提醒，还可以发分享、评论、私信。				  </p>
								<p><strong>客服机器人QQ号码是：252477755</strong></p>
				                <p>绑定流程：</p>
				                <p>1、填写自己的QQ号码</p>
				                <p>2、加机器人QQ为好友</p>
				                <p>3、发送系统生成的验证码给QQ机器人，绑定成功！</p>
				  </div>
                  
                  
			
                  
				  <div class="nopostsbottom"><div class="nopostsbottom2"></div></div>
</div>



<div class="noposts" style="margin-top:12px;">
							<div class="nopoststop"><div class="nopoststop2"></div></div>
							<div class="nopostsbody" >
                           
                           <?php if (!$D->i->yzm){?> 
                           
                           
                            请输入你的QQ号码（数字）：
                              <form action="" method="post" name="form1" target="_self" id="form1">
                                <label>
                                <input type="text" name="qq" id="qq" />
                                </label>
                                <label>
                                <input type="submit" name="button" id="button" value="提交" />
                                </label>
                              </form>
                                 <?php } elseif(($D->i->qq) AND ($D->i->uid) AND ($D->i->yzm==1)) { ?>
                                 你已经成功绑定QQ！，绑定的号码是：<?= $D->i->qq ?>
                                 <?php } elseif(($D->i->qq) AND ($D->i->uid) AND ($D->i->yzm==100)){?>
                                 请发送验证码给QQ机器人，你的验证码是：<?php echo md5(md5($D->i->qq)) ?>
                                 <?php } ?>
                                 
                                 
				  </div>
                  
				  <div class="nopostsbottom"><div class="nopostsbottom2"></div></div>
</div>
                        
                       
</div>
</div>
             
  
  <?php


	

	
	$this->load_template('footer.php');
?>



